package com.glory.dgcpcpda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: EventEntity
 * Author: XJH
 * Date: 2022/1/18 14:48
 * Description:
 * History:
 */
public class EventEntity implements Serializable {

    private List<LISTEVENTS> LISTEVENTS;

    public List<EventEntity.LISTEVENTS> getLISTEVENTS() {
        if (LISTEVENTS == null) {
            return new ArrayList<>();
        }
        return LISTEVENTS;
    }

    public void setLISTEVENTS(List<EventEntity.LISTEVENTS> LISTEVENTS) {
        this.LISTEVENTS = LISTEVENTS;
    }

    public class LISTEVENTS implements Serializable{

        private long OBJECTRRN;
        private String EVENTID;
        private String DESCRIPTION;
        private String ISSYSTEM;
        private String CATEGORY;
        private List<EVENTSTATUSLIST> EVENTSTATUSLIST;

        public long getOBJECTRRN() {
            return OBJECTRRN;
        }

        public void setOBJECTRRN(long OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }

        public String getEVENTID() {
            return EVENTID == null ? "" : EVENTID;
        }

        public void setEVENTID(String EVENTID) {
            this.EVENTID = EVENTID;
        }

        public String getDESCRIPTION() {
            return DESCRIPTION == null ? "" : DESCRIPTION;
        }

        public void setDESCRIPTION(String DESCRIPTION) {
            this.DESCRIPTION = DESCRIPTION;
        }

        public String getISSYSTEM() {
            return ISSYSTEM == null ? "" : ISSYSTEM;
        }

        public void setISSYSTEM(String ISSYSTEM) {
            this.ISSYSTEM = ISSYSTEM;
        }

        public String getCATEGORY() {
            return CATEGORY == null ? "" : CATEGORY;
        }

        public void setCATEGORY(String CATEGORY) {
            this.CATEGORY = CATEGORY;
        }

        public List<EventEntity.EVENTSTATUSLIST> getEVENTSTATUSLIST() {
            if (EVENTSTATUSLIST == null) {
                return new ArrayList<>();
            }
            return EVENTSTATUSLIST;
        }

        public void setEVENTSTATUSLIST(List<EventEntity.EVENTSTATUSLIST> EVENTSTATUSLIST) {
            this.EVENTSTATUSLIST = EVENTSTATUSLIST;
        }
    }

    public class EVENTSTATUSLIST implements Serializable{

        private long eventRrn;
        private int seqNo;
        private String checkFlag;
        private String sourceComClass;
        private String sourceState;
        private String sourceSubState;
        private String targetComClass;
        private String targetState;
        private String targetSubState;
        private int ORGRRN;
        private boolean ISACTIVE;
        private long OBJECTRRN;

        public long getEventRrn() {
            return eventRrn;
        }

        public void setEventRrn(long eventRrn) {
            this.eventRrn = eventRrn;
        }

        public int getSeqNo() {
            return seqNo;
        }

        public void setSeqNo(int seqNo) {
            this.seqNo = seqNo;
        }

        public String getCheckFlag() {
            return checkFlag == null ? "" : checkFlag;
        }

        public void setCheckFlag(String checkFlag) {
            this.checkFlag = checkFlag;
        }

        public String getSourceComClass() {
            return sourceComClass == null ? "" : sourceComClass;
        }

        public void setSourceComClass(String sourceComClass) {
            this.sourceComClass = sourceComClass;
        }

        public String getSourceState() {
            return sourceState == null ? "" : sourceState;
        }

        public void setSourceState(String sourceState) {
            this.sourceState = sourceState;
        }

        public String getSourceSubState() {
            return sourceSubState == null ? "" : sourceSubState;
        }

        public void setSourceSubState(String sourceSubState) {
            this.sourceSubState = sourceSubState;
        }

        public String getTargetComClass() {
            return targetComClass == null ? "" : targetComClass;
        }

        public void setTargetComClass(String targetComClass) {
            this.targetComClass = targetComClass;
        }

        public String getTargetState() {
            return targetState == null ? "" : targetState;
        }

        public void setTargetState(String targetState) {
            this.targetState = targetState;
        }

        public String getTargetSubState() {
            return targetSubState == null ? "" : targetSubState;
        }

        public void setTargetSubState(String targetSubState) {
            this.targetSubState = targetSubState;
        }

        public int getORGRRN() {
            return ORGRRN;
        }

        public void setORGRRN(int ORGRRN) {
            this.ORGRRN = ORGRRN;
        }

        public boolean ISACTIVE() {
            return ISACTIVE;
        }

        public void setISACTIVE(boolean ISACTIVE) {
            this.ISACTIVE = ISACTIVE;
        }

        public long getOBJECTRRN() {
            return OBJECTRRN;
        }

        public void setOBJECTRRN(long OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }
    }

}
